<template>
  <div class="nav">
    <router-link class="return" tag="div" to="/">
      <i class="iconfont icon-fanhui"></i>
    </router-link>
    <h4>城市选择</h4>
  </div>
</template>
<script>
export default {
  name: "CityNav"
};
</script>
<style lang="scss" scoped>
@import "~@/assets/style/scss/global";
.nav {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: color(bg);
  display: flex;
  line-height: 40px;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.return {
  position: absolute;
  left: 20px;
  i {
    font-size: 20px;
  }
}
</style>